Repository navigation
revert: remove the output-profile feature (#215/#471) as a negative result - #556
Merged
Merged
Conversation
…esult Reverts 577527e. SUMO_QA_OUTPUT_PROFILE (the concise/strict serve-time overlays, plus the lean profile explored under #528) is removed. Measurement under the #528 investigation showed a serve-time prompt overlay cannot reliably reduce the reply a host emits: a strong model, given the tightened contract and grounded input, still produced a full structured QA plan, and a weak model ignored the brevity instruction amid ~10x run-to-run variance. The model's task-completion drive overrides a prepended "be brief", so the knob did not do its job and is dead code. - Reverts the profile overlay system in skill_prompts.py, keeping the #476 conformance capture-wrapping and the #393 over-cap pointer (both unrelated). - Removes the profile docs from CONFIGURATION, TOOLS, SKILLS, ARCHITECTURE. - Rewrites the epic #211 "verbosity fatigue" control row in RELIABILITY-HARDENING.md to record the negative result honestly. Regression: ruff + mypy clean; 3211 passed, 100% coverage.
This was referenced Jul 20, 2026
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b736babe43
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…uard the removed env var Codex P2 on #556: the reverted body-match test used 'in' (contains), which would accept a reintroduced overlay wrapper and defeat the byte-for-byte serving contract this revert establishes. Restore exact equality, and add a guard that SUMO_QA_OUTPUT_PROFILE stays inert so the removed feature cannot silently return.
sumithr
added a commit
that referenced
this pull request
Jul 20, 2026
🤖 I have created a release *beep* *boop* --- ## [0.57.1](v0.57.0...v0.57.1) (2026-07-20) ### Reverts * remove the output-profile feature ([#215](https://github.com/sumithr/sumo-qa/issues/215)/[#471](https://github.com/sumithr/sumo-qa/issues/471)) as a negative result ([#556](#556)) ([c5eee44](c5eee44)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: release-please[bot] <release-please[bot]@users.noreply.github.com>
4 tasks
4 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Reverts commit
577527e(PR #471, issue #215): theSUMO_QA_OUTPUT_PROFILEoutput-profile feature. This is a documented negative result, not a bug fix.The feature is removed entirely: the
concise/strictserve-time overlays, theSUMO_QA_OUTPUT_PROFILEenv var,_CONCISE_OVERLAY/_STRICT_OVERLAY/_NEVER_OPTIONAL/_resolve_output_profile/_profile_overlay, the profile test suite, and the profile documentation acrossCONFIGURATION.md,TOOLS.md,SKILLS.md,ARCHITECTURE.md. Skill serving returns to the pre-#215 behavior: eachSKILL.mdbody served byte-for-byte.Why
The output profiles were meant to let a user tune how much output they get, so a small change would not bury them in a full QA audit. Measurement under the #528 investigation showed a serve-time prompt overlay cannot reliably do that:
A serve-time overlay is a prepended instruction; it loses the tug-of-war with the skill body and the model's drive to complete the task. Rather than keep a knob that does not do its job, the feature is removed. If reply length must be controlled, the effective levers are host-side (the host's own output settings) or fewer, more structured turns, not a served overlay.
What is kept (deliberately, verified independent of profiles)
sumo-qa-reviewing-before-mergeis ~18,141 tokens, over the 12,000 per-response cap, so its tool call would fail opaquely without the pointer that redirects the host to load it in slices.maybe_capturerecords every skill-tool call for aSUMO_QA_DEBUG_DIRconformance capture ([Task]: Add cross-model conformance checks for QA routing and outputs #214); no profile logic touches it.sumo_qa_load_skill_context,sumoqa://resources) stays as the fallback the [Task]: full-body skill MCP tools can exceed the host per-response token cap (reviewing-before-merge) #393 pointer redirects to.Docs
The single-commit revert cannot reach references added by later PRs, so one was fixed by hand: the epic #211 "verbosity fatigue" control row in
RELIABILITY-HARDENING.md(added by #502) is rewritten from "mitigated by profiles" to an honest negative result (control tried, measured, reverted; residual: verbosity left to the host).Regression
ruff check+mypyclean (74 source files).skill_prompts.py106 -> 75 statements). CI matrix green on the final headf3c6386; scoped mutation gate green.Review
Codex (bot) raised a P2 on the byte-for-byte serving contract: the reverted body-match test used a weak
in(contains) assertion that would accept a reintroduced overlay wrapper. Fixed inf3c6386- restored exact equality (bodies[tool_name] == expected_text) and addedtest_output_profile_env_is_inert_after_revert, which assertsSUMO_QA_OUTPUT_PROFILE(concise/strict/lean/nonsense) leaves the served body byte-identical, guarding against a silent reintroduction. Thread resolved.Supersedes / closes
Closes #528 (the re-scope investigation, concluded as this negative result) and #536 (cost follow-up on the wrong framing). Supersedes PR #535 (the concise re-scope), now closed.